# Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

# bluetooth hci interface
add_subdirectory(iot-hci)

# these implements the hci interface
if(TARGET cmsis-rtos-api)
    add_subdirectory(iot-hci-controller-ip-socket)
    if("mynewt-nimble" IN_LIST IOTSDK_FETCH_LIST)
        add_subdirectory(iot-hci-host-nimble)
    endif()
endif()

# host stack implementation
if("mynewt-nimble" IN_LIST IOTSDK_FETCH_LIST)
    add_subdirectory(mynewt-nimble)
    if(TARGET cmsis-rtos-api)
        add_subdirectory(cmsis-nimble-port)
    endif()
endif()
